<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/ai-gateway-use-anthropic-and-openai-with-one-api-key-ofscvdfqu" -->

---
title: AI Gateway: use Anthropic and OpenAI with one API key
description: Ngrok's AI Gateway now offers managed API keys and prepaid credits, letting developers call OpenAI and Anthropic through a single ngrok-issued key without...
canonical: https://daily.dev/posts/ai-gateway-use-anthropic-and-openai-with-one-api-key-ofscvdfqu
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: AI Gateway: use Anthropic and OpenAI with one API key | daily.dev
og:description: Ngrok's AI Gateway now offers managed API keys and prepaid credits, letting developers call OpenAI and Anthropic through a single ngrok-issued key without...
og:url: https://daily.dev/posts/ai-gateway-use-anthropic-and-openai-with-one-api-key-ofscvdfqu
og:image: https://api.daily.dev/og/posts/OfSCVdFqu.png
og:image:alt: AI Gateway: use Anthropic and OpenAI with one API key
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# AI Gateway: use Anthropic and OpenAI with one API key

**[ngrok Blog](https://daily.dev/sources/ngrok)** · 4 min read · 0 upvotes · 0 comments

## Summary

Ngrok's AI Gateway now offers managed API keys and prepaid credits, letting developers call OpenAI and Anthropic through a single ngrok-issued key without creating separate provider accounts. A model: "ngrok/auto" option auto-selects a provider, and BYOK remains free while ngrok-managed keys carry a $0.05 per million token processing fee on top of pass-through provider costs. Credits start at a $5 minimum, expire after a year, and other providers like Google and DeepSeek still require bring-your-own-key. Upcoming plans include simpler routing strategies, dashboard-based BYOK setup, better streaming failover, and support for more providers like Gemini and MiniMax.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://ngrok.com/blog/ai-gateway-api-keys-credits>

## Questions this post answers

### How can I use OpenAI and Anthropic through a single API key without creating separate provider accounts?

Ngrok's AI Gateway now issues its own managed API key (format ng-xxxxx) that lets you call OpenAI and Anthropic without signing up for provider accounts. You create the key from the ngrok dashboard, add prepaid credits (minimum $5, new accounts get $1 free), and point your SDK at https://gateway.ngrok.ai/v1; ngrok injects the correct provider key on your behalf.

_Teams evaluating LLM gateway options can track releases like this one on daily.dev._

### What does ngrok charge on top of OpenAI and Anthropic token costs when using its managed AI Gateway keys?

Ngrok passes through provider token costs at cost and adds a processing fee of $0.05 per million tokens, but only for requests using ngrok-managed keys. Bring-your-own-key (BYOK) requests remain free of the processing fee at launch. Credits are a prepaid USD balance with a $5 minimum purchase that expires after one year.

_Developers pricing out AI gateway costs can compare fee structures like this via daily.dev._

### Can I use ngrok's AI Gateway with providers other than OpenAI and Anthropic, like Google or DeepSeek?

Yes, ngrok-managed keys currently only cover OpenAI and Anthropic, so for Google, DeepSeek, or self-hosted open models you must bring your own key (BYOK). Both modes work together in the same gateway, so you can mix ngrok-managed keys for OpenAI and Anthropic with your own key for Google in a single setup. Gemini and MiniMax managed-key support is planned next.

_Anyone mixing multiple LLM providers can follow gateway feature updates on daily.dev._

## Similar posts on daily.dev

- [Why use BYOK through Kilo Gateway instead of going directly to the provider?](https://daily.dev/posts/why-use-byok-through-kilo-gateway-instead-of-going-directly-to-the-provider--dq6wsutd8) · Kilo Blog · 0 upvotes · 0 comments
- [OpenRouter: One API Key to Rule Them All](https://daily.dev/posts/openrouter-one-api-key-to-rule-them-all-ektckqyxv) · Playful Programming · 0 upvotes · 0 comments
- [BYOK: Use Your Own AI Models in ABP Studio AI Agent](https://daily.dev/posts/byok-use-your-own-ai-models-in-abp-studio-ai-agent-ijlgawowo) · We Are .NET · 0 upvotes · 0 comments
- [The End of the 'Wrapper' Era? Anthropic's New API Terms Explained](https://daily.dev/posts/the-end-of-the-wrapper-era-anthropic-s-new-api-terms-explained-cyiso2k2c) · SitePoint · 0 upvotes · 0 comments
- [Five keys to controlling AI token costs](https://daily.dev/posts/five-keys-to-controlling-ai-token-costs-hu2lr27uv) · InfoWorld · 0 upvotes · 0 comments

---

Tags: [#anthropic](https://daily.dev/tags/anthropic), [#api-gateway](https://daily.dev/tags/api-gateway), [#devtools](https://daily.dev/tags/devtools), [#llm](https://daily.dev/tags/llm), [#openai](https://daily.dev/tags/openai)

[View this post on daily.dev](https://daily.dev/posts/ai-gateway-use-anthropic-and-openai-with-one-api-key-ofscvdfqu)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"AI Gateway: use Anthropic and OpenAI with one API key","url":"https://daily.dev/posts/ai-gateway-use-anthropic-and-openai-with-one-api-key-ofscvdfqu","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/ai-gateway-use-anthropic-and-openai-with-one-api-key-ofscvdfqu"},"datePublished":"2026-08-23T07:20:29.866Z","dateModified":"2026-10-14T02:31:33.181Z","description":"Ngrok's AI Gateway now offers managed API keys and prepaid credits, letting developers call OpenAI and Anthropic through a single ngrok-issued key without...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/15e8542e684cc87c42c1129673c80dc0?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/15e8542e684cc87c42c1129673c80dc0?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"ngrok Blog","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"ngrok Blog","logo":"https://media.daily.dev/image/upload/s--718XXxvE--/f_auto,q_auto/v1787469610/logos/ngrok?_a=BAMAMicg0","url":"https://daily.dev/sources/ngrok"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/ai-gateway-use-anthropic-and-openai-with-one-api-key-ofscvdfqu","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"anthropic,api-gateway,devtools,llm,openai","timeRequired":"PT4M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"ngrok Blog","item":"https://daily.dev/sources/ngrok"},{"@type":"ListItem","position":3,"name":"AI Gateway: use Anthropic and OpenAI with one API key"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/ai-gateway-use-anthropic-and-openai-with-one-api-key-ofscvdfqu#faq","mainEntity":[{"@type":"Question","name":"How can I use OpenAI and Anthropic through a single API key without creating separate provider accounts?","acceptedAnswer":{"@type":"Answer","text":"Ngrok's AI Gateway now issues its own managed API key (format ng-xxxxx) that lets you call OpenAI and Anthropic without signing up for provider accounts. You create the key from the ngrok dashboard, add prepaid credits (minimum $5, new accounts get $1 free), and point your SDK at https://gateway.ngrok.ai/v1; ngrok injects the correct provider key on your behalf. Teams evaluating LLM gateway options can track releases like this one on daily.dev."}},{"@type":"Question","name":"What does ngrok charge on top of OpenAI and Anthropic token costs when using its managed AI Gateway keys?","acceptedAnswer":{"@type":"Answer","text":"Ngrok passes through provider token costs at cost and adds a processing fee of $0.05 per million tokens, but only for requests using ngrok-managed keys. Bring-your-own-key (BYOK) requests remain free of the processing fee at launch. Credits are a prepaid USD balance with a $5 minimum purchase that expires after one year. Developers pricing out AI gateway costs can compare fee structures like this via daily.dev."}},{"@type":"Question","name":"Can I use ngrok's AI Gateway with providers other than OpenAI and Anthropic, like Google or DeepSeek?","acceptedAnswer":{"@type":"Answer","text":"Yes, ngrok-managed keys currently only cover OpenAI and Anthropic, so for Google, DeepSeek, or self-hosted open models you must bring your own key (BYOK). Both modes work together in the same gateway, so you can mix ngrok-managed keys for OpenAI and Anthropic with your own key for Google in a single setup. Gemini and MiniMax managed-key support is planned next. Anyone mixing multiple LLM providers can follow gateway feature updates on daily.dev."}}]}
```

