Skip to content
rawroute

Use rawroute with Dify. Cut production Dify workflow bills by 50–70%.

Dify workflows and chatbots plug directly into rawroute via the built-in OpenAI-API-compatible provider plugin—giving every Dify app access to Claude 5.5, GPT-6.2, Gemini 4, and Grok 4.7 at 50–70% below list price, 0% top-up fee, and automatic failover on 429/529 spikes.

Quick setup for Dify

  1. In Dify, open Settings → Model Provider → OpenAI-API-compatible.
  2. Enter API endpoint URL https://api.rawroute.dev/v1 and your rawroute API key.
  3. Add model IDs (claude-sonnet-5-5, gpt-6.2-sol, gemini-4-argon, grok-4.7) with Completion mode = Chat.
Model Type:       LLM
Model Name:       claude-sonnet-5-5
API Key:          rr_live_your_key_here
API endpoint URL: https://api.rawroute.dev/v1
Completion mode:  Chat
Function calling: Supported

Recommended models for Dify

ModelModel IDOfficialOpenRouter +5.5%rawroute (0%)Providers
Claude Sonnet 5.5claude-sonnet-5-5$2.00 / $10.00$2.11 / $10.55$1.00 / $5.004
GPT-6.2 Solgpt-6.2-sol$2.00 / $10.00$2.11 / $10.55$0.60 / $3.003
Gemini 4 Argongemini-4-argon$2.00 / $10.00$2.11 / $10.55$1.00 / $5.004
Grok 4.7grok-4.7$2.00 / $6.00$2.11 / $6.33$1.00 / $3.003

When NOT to use rawroute

FAQ

Does Dify function calling and structured output work through rawroute?

Yes. All chat models on rawroute pass tool schemas and json_schema responses through cleanly without stripping fields.