Get FREE $10 20% OFF OPENAI MODELS FOR LIFE
Dify Platform integration · Dify

Give every Dify app its own model budget.

Dify apps start cheap and get expensive as workflows grow. ProxyLLM gives each app a scoped key with a hard cap, and OpenAI-model calls bill to your flat ChatGPT subscription through Codex Hosted.

Request $10 with BONUS10. No credit card required. Manually approved within 24 hours.

Three steps to connect.

01

Create a workspace key

Generate a ProxyLLM key for Dify and set a cap that matches the app or team using it.

02

Add an OpenAI-compatible provider

In Dify, add an OpenAI-compatible model provider with API Base set to https://api.proxyllm.ai/v1 and the ProxyLLM key as the API key.

03

Pick models for each app

Use plain OpenAI names or prefixed models like anthropic/ and google/. OpenAI models run through Codex Hosted on your ChatGPT plan; prefixed models go through your OpenRouter key.

Add one OpenAI-compatible provider.

Dify keeps its app builder flow. ProxyLLM handles keys, logging, and where each call gets billed.

dify provider
Provider: OpenAI-compatible
API Base: https://api.proxyllm.ai/v1
API Key: pk_live_...
Model: gpt-4o-mini
Codex Hosted · the main feature

Run your AI workloads on your ChatGPT subscription.

ProxyLLM runs OpenAI's Codex for you, signed in with your own ChatGPT account. Your apps call one OpenAI-compatible endpoint and the work bills to your ChatGPT plan instead of per-token API pricing.

BONUS10 · $10 signup bonus

Ship Dify apps without blind spend.

Cap each workspace key, follow spend per app in the request log, and bill OpenAI traffic to your ChatGPT subscription instead of a metered key.