Skip to main content
A coding assistant spans the full complexity range - from single-line autocomplete suggestions to multi-file refactors, architecture questions, and debugging complex logic. Unlike a chatbot, the quality floor matters more: a wrong code suggestion costs developer time. Savings on this workload: typically 30–45% vs Claude Sonnet 4.6 baseline. Savings are lower than a chatbot because code tasks skew toward STANDARD and COMPLEX tiers - but the savings on the 40–50% of requests that route below STANDARD are still substantial.

Step 1 - Create the profile

  1. Go to Playground → Configure
  2. Name it Code Assistant
  3. Set tier floor: STANDARD, ceiling: COMPLEX
  4. Set cost cap: $0.05
  5. Enable Tool calling if your assistant uses tools
  6. If tool calling is on, set tool quality to 70% minimum
  7. Click Save & get API key

Step 2 - Use the profile key in your app

Node.js - with tool calling

Python


How routing looks for code tasks


Streaming for autocomplete

If you’re building an IDE extension or real-time autocomplete, enable streaming:

Cost estimate

On a coding assistant handling 2,000 requests/day: Savings are lower than a chatbot because code tasks are genuinely harder and route to higher tiers. But the STANDARD floor means quality never drops below a capable model.