Openrouter logo
AI agent integrationOpenrouter

Openrouter integration for multiplayer collaboration with AI agents using Claude Code or Codex

One governed connection your whole team and its AI agents can share, with approved actions and human review, so working in Openrouter never means pasting credentials into a prompt.

Use Openrouter from Claude Code

Bring Openrouter context into engineering work while Type keeps app access attached to the teammate and workspace.

Automate Openrouter with Codex

Let coding agents ask for the right app action, preserve conversation context, and keep humans in the approval loop.

Connect open agent workflows

Use Type as the collaboration layer around OpenClaw and other LLM workflows that need app access.

Developer Tools & IT

What the Openrouter integration exposes

OpenRouter is a platform that provides a unified API for accessing various large language models (LLMs) from different providers, allowing developers to integrate multiple AI models seamlessly.

One connection, many teammates

Connect Openrouter once, then decide which teammates can use it for threads, automations, skills, and coding work.

Representative actions

  • Create Chat Completion

    Tool to generate a chat-style completion. Use after assembling messages and selecting a model. Supports streaming and function calls. Response format varies across models; use explicit prompt instructions to standardize output. Provider-level rate limits and moderation policies differ per model.

  • Create Coinbase Charge

    Tool to create a Coinbase charge for crypto payment to add credits to your OpenRouter account. Use when you need to purchase credits using cryptocurrency. Returns calldata needed to fulfill the transaction on the specified blockchain.

  • Create Message (Anthropic Format)

    Tool to create a message using Anthropic Messages API format via OpenRouter. Use when you need Claude-compatible chat completion with support for text, images, PDFs, tools, and extended thinking.

  • Get Credits

    Tool to get the current API credit balance for the authenticated user. Use before large or batch jobs to verify sufficient balance. A successful response may return total_credits=0, which confirms authentication but will cause all paid model generations to fail. Avoid polling this endpoint; call only as needed.

  • Get Current Key

    Tool to get information about the currently authenticated API key. Use to check usage limits, spending, and key metadata.

Connection

API and auth details

OpenRouter provides a unified OpenAI-compatible API for accessing models from many AI providers. Integrations can route chat/completion requests, choose models, use streaming, tool calling, structured outputs, rankings, usage accounting, and provider routing policies through bearer-token API keys.

FAQ

Questions people ask before connecting Openrouter

Can Claude Code use Openrouter?

Yes. Type lets an AI teammate use connected Openrouter actions from a governed workspace context, so Claude Code work can reference the app without copying credentials into a local prompt.

Can Codex work with Openrouter through Type?

Yes. Codex can collaborate through Type with app context, skills, and approved actions. The Openrouter catalog entry includes public integration details and example capabilities where available.

Is this the same as a Openrouter MCP server?

Type exposes connected app capabilities to AI teammates and coding agents through Type's integration layer. Teams use it when they want shared app access, human review, and teammate-level permissions around agent work.

More developer tools & it apps for AI teammates