Riven Code

Model ID: riven-code Provider: riven Tier: code Capabilities: chat, code

Code generation, completion, and agentic coding tasks.

Pricing

| | per 1M tokens | |---|---| | Prompt | $1.00 | | Completion | $4.40 |

Cost basis; code lane.

Context

32K tokens.

Intended use

- Code generation and completion - Agentic coding workflows - Code explanation and refactoring

Limitations

- Optimized for code; not a general reasoning model — use riven-core for prose. - 32K context.

Access

Available on Free and above. Call it through the Riven API:

curl https://api.rivenai.io/v1/chat/completions \
  -H "Authorization: Bearer $RIVEN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "riven-code", "messages": [{"role": "user", "content": "Write a Python function to reverse a string."}]}'

Pricing from the live billing rate book, verified 2026-09-02.