Skip to main content
Aider is an AI pair programming tool that works in your terminal. It supports OpenAI-compatible APIs natively.

Configuration

export OPENAI_API_KEY="kyma-your-api-key"
export OPENAI_API_BASE="https://kymaapi.com/v1"
Then run:
aider --model openai/qwen-3.6-plus
Or for a specific model:
aider --model openai/qwen-3-coder
ModelAliasBest For
qwen-3.6-plusbestRecommended — highest quality
deepseek-v3Near-frontier, complex reasoning
qwen-3-32bFast edits, math
llama-3.3-70bbalancedGreat all-rounder
curl "https://kymaapi.com/v1/models/recommend?agent=aider"
See all model aliases for shortcuts.

Notes

  • Aider uses the openai/ prefix for model names: openai/best or openai/qwen-3.6-plus.
  • Model aliases work with Aider: --model openai/code.
  • For large codebases, use gemini-2.5-flash (1M context) with alias long-context.
  • Kyma’s fallback system ensures requests never fail, even during provider outages.

Prompt Caching

Prompt caching is automatic. Your system prompt and tool definitions are cached for 5 minutes, reducing costs by up to 90% on subsequent requests. No code changes needed. See Prompt Caching for details.