SDKs and frameworks
MCP
Give any MCP client the models on your account as tools.
Our MCP server lets an AI tool or agent call the text and media models on your account as tools, with no code of your own. It is at:
https://pinerouter.ai/mcpClaude.ai and ChatGPT connect with sign-in. Other clients send your key as Authorization: Bearer <key>:
{"mcpServers": {"ai": {"url": "https://pinerouter.ai/mcp", "headers": {"Authorization": "Bearer YOUR_API_KEY"}}}}The tools are list_models, get_balance, chat, generate_image, generate_video, run_model and get_job. Calls are billed like API calls.
