<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
    <channel>
        <title>Spanway blog</title>
        <link>https://docs.spanway.ai/blog</link>
        <description>Product announcements and engineering notes from the Spanway team.</description>
        <lastBuildDate>Thu, 15 Oct 2026 00:00:00 GMT</lastBuildDate>
        <docs>https://validator.w3.org/feed/docs/rss2.html</docs>
        <language>en</language>
        <copyright>Copyright 2026 SuVantage.AI LLC.</copyright>
        <item>
            <title><![CDATA[Realtime WebRTC HTTP endpoints]]></title>
            <link>https://docs.spanway.ai/blog/realtime_webrtc_http_endpoints</link>
            <guid>https://docs.spanway.ai/blog/realtime_webrtc_http_endpoints</guid>
            <pubDate>Thu, 15 Oct 2026 00:00:00 GMT</pubDate>
            <description><![CDATA[Route OpenAI style WebRTC realtime sessions through the Spanway gateway with the client secrets and SDP exchange endpoints.]]></description>
            <content:encoded><![CDATA[<p>Browser voice applications use WebRTC rather than a WebSocket, and the OpenAI realtime protocol supports that with two HTTP calls: one to mint a short lived client secret, and one to exchange the browser's SDP offer for the provider's answer. The gateway now serves both, so WebRTC sessions get the same keys, budgets and logging as every other call.</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="what-changed">What changed<a href="https://docs.spanway.ai/blog/realtime_webrtc_http_endpoints#what-changed" class="hash-link" aria-label="Direct link to What changed" title="Direct link to What changed" translate="no">​</a></h2>
<p>Three HTTP endpoints joined the realtime family on the gateway.</p>





















<table tabindex="0"><thead><tr><th>Endpoint</th><th>Purpose</th></tr></thead><tbody><tr><td><code>POST /v1/realtime/client_secrets</code></td><td>Returns an ephemeral secret the browser can hold, so the long lived virtual key stays on your server.</td></tr><tr><td><code>POST /v1/realtime/calls</code></td><td>Takes the browser's SDP offer, forwards it to the provider under the gateway's credential, and returns the SDP answer.</td></tr><tr><td><code>POST /v1/realtime/transcription_sessions</code></td><td>Starts a transcription only session.</td></tr></tbody></table>
<p>The existing WebSocket endpoint at <code>/v1/realtime</code> is unchanged.</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="how-a-browser-session-works">How a browser session works<a href="https://docs.spanway.ai/blog/realtime_webrtc_http_endpoints#how-a-browser-session-works" class="hash-link" aria-label="Direct link to How a browser session works" title="Direct link to How a browser session works" translate="no">​</a></h2>
<p>Your backend calls <code>client_secrets</code> with a virtual key and hands the returned secret to the page. The page creates an <code>RTCPeerConnection</code>, posts its offer to <code>/v1/realtime/calls</code> with the secret, and sets the answer as the remote description. Audio then flows directly between the browser and the provider, while the gateway has recorded the session, applied the key's budget, and will record usage when the session ends.</p>
<div class="language-bash codeBlockContainer_Ckt0 theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_QJqH"><pre tabindex="0" class="prism-code language-bash codeBlock_bY9V thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_e6Vv"><div class="token-line" style="color:#393A34"><span class="token function" style="color:#d73a49">curl</span><span class="token plain"> </span><span class="token parameter variable" style="color:#36acaa">-X</span><span class="token plain"> POST http://localhost:4000/v1/realtime/client_secrets </span><span class="token punctuation" style="color:#393A34">\</span><span class="token plain"></span><br></div><div class="token-line" style="color:#393A34"><span class="token plain">  </span><span class="token parameter variable" style="color:#36acaa">-H</span><span class="token plain"> </span><span class="token string" style="color:#e3116c">"Authorization: Bearer </span><span class="token string variable" style="color:#36acaa">$SPANWAY_API_KEY</span><span class="token string" style="color:#e3116c">"</span><span class="token plain"> </span><span class="token punctuation" style="color:#393A34">\</span><span class="token plain"></span><br></div><div class="token-line" style="color:#393A34"><span class="token plain">  </span><span class="token parameter variable" style="color:#36acaa">-H</span><span class="token plain"> </span><span class="token string" style="color:#e3116c">"Content-Type: application/json"</span><span class="token plain"> </span><span class="token punctuation" style="color:#393A34">\</span><span class="token plain"></span><br></div><div class="token-line" style="color:#393A34"><span class="token plain">  </span><span class="token parameter variable" style="color:#36acaa">-d</span><span class="token plain"> </span><span class="token string" style="color:#e3116c">'{"session": {"type": "realtime", "model": "gpt-realtime"}}'</span><br></div></code></pre></div></div>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="why-it-matters">Why it matters<a href="https://docs.spanway.ai/blog/realtime_webrtc_http_endpoints#why-it-matters" class="hash-link" aria-label="Direct link to Why it matters" title="Direct link to Why it matters" translate="no">​</a></h2>
<p>Until now, teams that wanted WebRTC had to give browsers a provider key or run their own relay. With these endpoints the gateway is the only credential holder, and realtime sessions show up on the Logs and Usage pages like any other request. See the <a class="" href="https://docs.spanway.ai/docs/realtime">realtime</a> page for configuration and the models that support it.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What the dashboard's What's new panel shows]]></title>
            <link>https://docs.spanway.ai/blog/new</link>
            <guid>https://docs.spanway.ai/blog/new</guid>
            <pubDate>Sun, 11 Oct 2026 00:00:00 GMT</pubDate>
            <description><![CDATA[How the Admin UI home page picks the launches it shows under What's new, and where they come from.]]></description>
            <content:encoded><![CDATA[<p>The home page of the Admin UI has a What's new panel that lists recent launches with a title, a short description, a date and a link. This post explains where that list comes from and how the panel chooses what to show, so administrators know what their users will see after an upgrade.</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="the-launches-feed">The launches feed<a href="https://docs.spanway.ai/blog/new#the-launches-feed" class="hash-link" aria-label="Direct link to The launches feed" title="Direct link to The launches feed" translate="no">​</a></h2>
<p>The panel reads <code>GET /public/whats_new</code> on the gateway. The endpoint returns a <code>launches</code> list in which each entry has an <code>icon</code>, a <code>title</code>, a <code>description</code>, an <code>href</code> and a <code>published_on</code> date. The dashboard shows the newest entries first, formats the date as a short label such as "Oct 11", and links each title to its <code>href</code>, which is normally a page on this documentation site or a post on this blog.</p>
<p>By default the gateway serves a bundled list that ships with each build, so the panel works in air-gapped deployments and never calls out to the internet. The bundled list for the current build announces the Spanway 2.0.0 preview, Claude Haiku 5.5 with day 0 pricing, decision models at <code>/v1/decisions</code> with the Decisions playground, and the OpenAI Ultrafast service tier.</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="hiding-the-panel">Hiding the panel<a href="https://docs.spanway.ai/blog/new#hiding-the-panel" class="hash-link" aria-label="Direct link to Hiding the panel" title="Direct link to Hiding the panel" translate="no">​</a></h2>
<p>When the endpoint returns no launches, the panel is not rendered at all, and the home page shows its usual quick links. Administrators who prefer a quiet home page can point the gateway at an empty feed as described in <a class="" href="https://docs.spanway.ai/blog/mid">serving your own What's new feed</a>.</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="why-it-is-public">Why it is public<a href="https://docs.spanway.ai/blog/new#why-it-is-public" class="hash-link" aria-label="Direct link to Why it is public" title="Direct link to Why it is public" translate="no">​</a></h2>
<p><code>/public/whats_new</code> is one of the gateway's public endpoints, which need no key, because the dashboard requests it before a user has signed in. It only ever returns the launch list, never anything about your deployment, and the <a class="" href="https://docs.spanway.ai/docs/proxy/ui">Admin UI</a> page lists the other public endpoints.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Serving your own What's new feed]]></title>
            <link>https://docs.spanway.ai/blog/mid</link>
            <guid>https://docs.spanway.ai/blog/mid</guid>
            <pubDate>Sat, 10 Oct 2026 00:00:00 GMT</pubDate>
            <description><![CDATA[Replace the bundled launches list with your own feed using SPANWAY_WHATS_NEW_URL, so the dashboard announces your platform team's changes.]]></description>
            <content:encoded><![CDATA[<p>The What's new panel on the dashboard home page does not have to show Spanway's launches. Platform teams can point it at a feed they publish, which turns the panel into a notice board for their own changes: new models they enabled, budget policy changes, or planned maintenance.</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="pointing-the-gateway-at-your-feed">Pointing the gateway at your feed<a href="https://docs.spanway.ai/blog/mid#pointing-the-gateway-at-your-feed" class="hash-link" aria-label="Direct link to Pointing the gateway at your feed" title="Direct link to Pointing the gateway at your feed" translate="no">​</a></h2>
<p>Set <code>SPANWAY_WHATS_NEW_URL</code> on the gateway to the URL of a JSON document with the same shape as the bundled list.</p>
<div class="language-bash codeBlockContainer_Ckt0 theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_QJqH"><pre tabindex="0" class="prism-code language-bash codeBlock_bY9V thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_e6Vv"><div class="token-line" style="color:#393A34"><span class="token builtin class-name">export</span><span class="token plain"> </span><span class="token assign-left variable" style="color:#36acaa">SPANWAY_WHATS_NEW_URL</span><span class="token operator" style="color:#393A34">=</span><span class="token string" style="color:#e3116c">"https://intranet.example.com/ai-gateway/whats_new.json"</span><br></div></code></pre></div></div>
<div class="language-json codeBlockContainer_Ckt0 theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_QJqH"><pre tabindex="0" class="prism-code language-json codeBlock_bY9V thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_e6Vv"><div class="token-line" style="color:#393A34"><span class="token punctuation" style="color:#393A34">{</span><span class="token plain"></span><br></div><div class="token-line" style="color:#393A34"><span class="token plain">  </span><span class="token property" style="color:#36acaa">"launches"</span><span class="token operator" style="color:#393A34">:</span><span class="token plain"> </span><span class="token punctuation" style="color:#393A34">[</span><span class="token plain"></span><br></div><div class="token-line" style="color:#393A34"><span class="token plain">    </span><span class="token punctuation" style="color:#393A34">{</span><span class="token plain"></span><br></div><div class="token-line" style="color:#393A34"><span class="token plain">      </span><span class="token property" style="color:#36acaa">"icon"</span><span class="token operator" style="color:#393A34">:</span><span class="token plain"> </span><span class="token string" style="color:#e3116c">"box"</span><span class="token punctuation" style="color:#393A34">,</span><span class="token plain"></span><br></div><div class="token-line" style="color:#393A34"><span class="token plain">      </span><span class="token property" style="color:#36acaa">"title"</span><span class="token operator" style="color:#393A34">:</span><span class="token plain"> </span><span class="token string" style="color:#e3116c">"Claude Haiku 5.5 enabled for all teams"</span><span class="token punctuation" style="color:#393A34">,</span><span class="token plain"></span><br></div><div class="token-line" style="color:#393A34"><span class="token plain">      </span><span class="token property" style="color:#36acaa">"description"</span><span class="token operator" style="color:#393A34">:</span><span class="token plain"> </span><span class="token string" style="color:#e3116c">"Registered on Anthropic and Bedrock with fallbacks. Ask in the platform channel for access."</span><span class="token punctuation" style="color:#393A34">,</span><span class="token plain"></span><br></div><div class="token-line" style="color:#393A34"><span class="token plain">      </span><span class="token property" style="color:#36acaa">"href"</span><span class="token operator" style="color:#393A34">:</span><span class="token plain"> </span><span class="token string" style="color:#e3116c">"https://docs.spanway.ai/docs/providers/anthropic"</span><span class="token punctuation" style="color:#393A34">,</span><span class="token plain"></span><br></div><div class="token-line" style="color:#393A34"><span class="token plain">      </span><span class="token property" style="color:#36acaa">"published_on"</span><span class="token operator" style="color:#393A34">:</span><span class="token plain"> </span><span class="token string" style="color:#e3116c">"2026-10-10"</span><span class="token plain"></span><br></div><div class="token-line" style="color:#393A34"><span class="token plain">    </span><span class="token punctuation" style="color:#393A34">}</span><span class="token plain"></span><br></div><div class="token-line" style="color:#393A34"><span class="token plain">  </span><span class="token punctuation" style="color:#393A34">]</span><span class="token plain"></span><br></div><div class="token-line" style="color:#393A34"><span class="token plain"></span><span class="token punctuation" style="color:#393A34">}</span><br></div></code></pre></div></div>
<p>Each launch needs an <code>icon</code> name, a <code>title</code>, a <code>description</code>, an <code>href</code> and a <code>published_on</code> date. The gateway fetches the document, caches it in process, and falls back to the bundled list when the URL cannot be reached, so a broken intranet link never breaks the dashboard.</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="links-to-your-own-pages">Links to your own pages<a href="https://docs.spanway.ai/blog/mid#links-to-your-own-pages" class="hash-link" aria-label="Direct link to Links to your own pages" title="Direct link to Links to your own pages" translate="no">​</a></h2>
<p><code>href</code> can point anywhere your users can reach. Linking to an internal page that explains how to request access, next to a link to the provider page on this site, is a good pattern.</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="turning-the-panel-off">Turning the panel off<a href="https://docs.spanway.ai/blog/mid#turning-the-panel-off" class="hash-link" aria-label="Direct link to Turning the panel off" title="Direct link to Turning the panel off" translate="no">​</a></h2>
<p>Serve a document with an empty <code>launches</code> list and the panel disappears. See <a class="" href="https://docs.spanway.ai/blog/new">what the panel shows</a> for how entries are rendered, and <a class="" href="https://docs.spanway.ai/blog/old">the blog feed</a> for the other feed the dashboard reads.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The blog feed behind the dashboard]]></title>
            <link>https://docs.spanway.ai/blog/old</link>
            <guid>https://docs.spanway.ai/blog/old</guid>
            <pubDate>Thu, 08 Oct 2026 00:00:00 GMT</pubDate>
            <description><![CDATA[How the gateway fetches this blog's RSS feed for the dashboard, caches it, and falls back to a bundled list when offline.]]></description>
            <content:encoded><![CDATA[<p>Besides the What's new launches, the Admin UI can show recent posts from this blog. The gateway fetches them through its own endpoint so that the browser never talks to an outside site, and so that deployments without internet access still get a sensible list.</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="the-endpoint">The endpoint<a href="https://docs.spanway.ai/blog/old#the-endpoint" class="hash-link" aria-label="Direct link to The endpoint" title="Direct link to The endpoint" translate="no">​</a></h2>
<p><code>GET /public/spanway_blog_posts</code> returns the latest posts as a list with a title, a description, a date and a URL for each. The gateway reads the RSS feed of this blog at <code>https://docs.spanway.ai/blog/rss.xml</code>, keeps the parsed result in an in-process cache for an hour, and serves the cached copy to every dashboard request in that window. If the feed cannot be fetched, the gateway falls back to a bundled list that ships with each build, so the endpoint always answers.</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="changing-the-feed">Changing the feed<a href="https://docs.spanway.ai/blog/old#changing-the-feed" class="hash-link" aria-label="Direct link to Changing the feed" title="Direct link to Changing the feed" translate="no">​</a></h2>
<p>The feed URL is read from <code>SPANWAY_BLOG_POSTS_URL</code>. Point it at any RSS feed, for example a feed of your platform team's announcements, and the dashboard shows those posts instead.</p>
<div class="language-bash codeBlockContainer_Ckt0 theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_QJqH"><pre tabindex="0" class="prism-code language-bash codeBlock_bY9V thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_e6Vv"><div class="token-line" style="color:#393A34"><span class="token builtin class-name">export</span><span class="token plain"> </span><span class="token assign-left variable" style="color:#36acaa">SPANWAY_BLOG_POSTS_URL</span><span class="token operator" style="color:#393A34">=</span><span class="token string" style="color:#e3116c">"https://intranet.example.com/ai-gateway/feed.xml"</span><br></div></code></pre></div></div>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="what-is-in-the-feed">What is in the feed<a href="https://docs.spanway.ai/blog/old#what-is-in-the-feed" class="hash-link" aria-label="Direct link to What is in the feed" title="Direct link to What is in the feed" translate="no">​</a></h2>
<p>This blog's feed carries the full text of each post, so a reader or an internal aggregator can display posts without visiting the site. Posts cover product announcements, such as <a class="" href="https://docs.spanway.ai/blog/claude-haiku-5-5">new models with day 0 pricing</a>, and engineering notes, such as the <a class="" href="https://docs.spanway.ai/blog/realtime_webrtc_http_endpoints">realtime WebRTC endpoints</a>. For the dashboard's launches panel, which is separate from the blog feed, see <a class="" href="https://docs.spanway.ai/blog/new">what the panel shows</a>.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Claude Haiku 5.5 is available with day 0 pricing]]></title>
            <link>https://docs.spanway.ai/blog/claude-haiku-5-5</link>
            <guid>https://docs.spanway.ai/blog/claude-haiku-5-5</guid>
            <pubDate>Wed, 07 Oct 2026 00:00:00 GMT</pubDate>
            <description><![CDATA[Anthropic's newest small model is in the Spanway price map on Anthropic, Bedrock and Vertex AI, so cost tracking works from the first request.]]></description>
            <content:encoded><![CDATA[<p>Claude Haiku 5.5 is Anthropic's newest small model, and it is in the Spanway bundled price map on the day of its release, on Anthropic's API, AWS Bedrock and Google Vertex AI. Register it, and every request is costed, budgeted and reported correctly without waiting for an update.</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="where-you-can-run-it">Where you can run it<a href="https://docs.spanway.ai/blog/claude-haiku-5-5#where-you-can-run-it" class="hash-link" aria-label="Direct link to Where you can run it" title="Direct link to Where you can run it" translate="no">​</a></h2>





















<table tabindex="0"><thead><tr><th>Provider</th><th><code>model</code> value</th></tr></thead><tbody><tr><td>Anthropic</td><td><code>anthropic/claude-haiku-5-5</code></td></tr><tr><td>AWS Bedrock</td><td><code>bedrock/global.anthropic.claude-haiku-5-5</code>, or a regional id such as <code>bedrock/us.anthropic.claude-haiku-5-5</code></td></tr><tr><td>Google Vertex AI</td><td><code>vertex_ai/claude-haiku-5-5</code></td></tr></tbody></table>
<p>The price map records a 1,000,000 token context window and up to 128,000 output tokens, with list prices of 0.10 US dollars per million input tokens and 0.50 per million output tokens on Anthropic, Vertex AI and the global Bedrock id, and cached input at 0.01 per million. The regional Bedrock ids (<code>us.</code>, <code>eu.</code>, <code>apac.</code>, <code>au.</code> and <code>jp.</code>) are priced about 10% higher, and the Bedrock GovCloud regions higher again. Capability flags include function calling, PDF input, computer use, prompt caching, adaptive thinking and native structured output.</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="registering-it">Registering it<a href="https://docs.spanway.ai/blog/claude-haiku-5-5#registering-it" class="hash-link" aria-label="Direct link to Registering it" title="Direct link to Registering it" translate="no">​</a></h2>
<div class="language-yaml codeBlockContainer_Ckt0 theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_QJqH"><pre tabindex="0" class="prism-code language-yaml codeBlock_bY9V thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_e6Vv"><div class="token-line" style="color:#393A34"><span class="token key atrule" style="color:#00a4db">model_list</span><span class="token punctuation" style="color:#393A34">:</span><span class="token plain"></span><br></div><div class="token-line" style="color:#393A34"><span class="token plain">  </span><span class="token punctuation" style="color:#393A34">-</span><span class="token plain"> </span><span class="token key atrule" style="color:#00a4db">model_name</span><span class="token punctuation" style="color:#393A34">:</span><span class="token plain"> claude</span><span class="token punctuation" style="color:#393A34">-</span><span class="token plain">haiku</span><span class="token punctuation" style="color:#393A34">-</span><span class="token plain">5</span><span class="token punctuation" style="color:#393A34">-</span><span class="token number" style="color:#36acaa">5</span><span class="token plain"></span><br></div><div class="token-line" style="color:#393A34"><span class="token plain">    </span><span class="token key atrule" style="color:#00a4db">spanway_params</span><span class="token punctuation" style="color:#393A34">:</span><span class="token plain"></span><br></div><div class="token-line" style="color:#393A34"><span class="token plain">      </span><span class="token key atrule" style="color:#00a4db">model</span><span class="token punctuation" style="color:#393A34">:</span><span class="token plain"> anthropic/claude</span><span class="token punctuation" style="color:#393A34">-</span><span class="token plain">haiku</span><span class="token punctuation" style="color:#393A34">-</span><span class="token plain">5</span><span class="token punctuation" style="color:#393A34">-</span><span class="token number" style="color:#36acaa">5</span><span class="token plain"></span><br></div><div class="token-line" style="color:#393A34"><span class="token plain">      </span><span class="token key atrule" style="color:#00a4db">api_key</span><span class="token punctuation" style="color:#393A34">:</span><span class="token plain"> os.environ/ANTHROPIC_API_KEY</span><br></div><div class="token-line" style="color:#393A34"><span class="token plain">  </span><span class="token punctuation" style="color:#393A34">-</span><span class="token plain"> </span><span class="token key atrule" style="color:#00a4db">model_name</span><span class="token punctuation" style="color:#393A34">:</span><span class="token plain"> claude</span><span class="token punctuation" style="color:#393A34">-</span><span class="token plain">haiku</span><span class="token punctuation" style="color:#393A34">-</span><span class="token plain">5</span><span class="token punctuation" style="color:#393A34">-</span><span class="token number" style="color:#36acaa">5</span><span class="token plain"></span><br></div><div class="token-line" style="color:#393A34"><span class="token plain">    </span><span class="token key atrule" style="color:#00a4db">spanway_params</span><span class="token punctuation" style="color:#393A34">:</span><span class="token plain"></span><br></div><div class="token-line" style="color:#393A34"><span class="token plain">      </span><span class="token key atrule" style="color:#00a4db">model</span><span class="token punctuation" style="color:#393A34">:</span><span class="token plain"> bedrock/global.anthropic.claude</span><span class="token punctuation" style="color:#393A34">-</span><span class="token plain">haiku</span><span class="token punctuation" style="color:#393A34">-</span><span class="token plain">5</span><span class="token punctuation" style="color:#393A34">-</span><span class="token number" style="color:#36acaa">5</span><span class="token plain"></span><br></div><div class="token-line" style="color:#393A34"><span class="token plain">      </span><span class="token key atrule" style="color:#00a4db">aws_region_name</span><span class="token punctuation" style="color:#393A34">:</span><span class="token plain"> us</span><span class="token punctuation" style="color:#393A34">-</span><span class="token plain">east</span><span class="token punctuation" style="color:#393A34">-</span><span class="token number" style="color:#36acaa">1</span><br></div></code></pre></div></div>
<p>Two entries with the same <code>model_name</code> make a load balanced group across Anthropic and Bedrock, with fallbacks between them. Health checks, the model hub and the Usage page pick the model up as soon as the gateway reloads.</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="trying-it">Trying it<a href="https://docs.spanway.ai/blog/claude-haiku-5-5#trying-it" class="hash-link" aria-label="Direct link to Trying it" title="Direct link to Trying it" translate="no">​</a></h2>
<div class="language-bash codeBlockContainer_Ckt0 theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_QJqH"><pre tabindex="0" class="prism-code language-bash codeBlock_bY9V thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_e6Vv"><div class="token-line" style="color:#393A34"><span class="token function" style="color:#d73a49">curl</span><span class="token plain"> </span><span class="token parameter variable" style="color:#36acaa">-X</span><span class="token plain"> POST http://localhost:4000/v1/chat/completions </span><span class="token punctuation" style="color:#393A34">\</span><span class="token plain"></span><br></div><div class="token-line" style="color:#393A34"><span class="token plain">  </span><span class="token parameter variable" style="color:#36acaa">-H</span><span class="token plain"> </span><span class="token string" style="color:#e3116c">"Authorization: Bearer </span><span class="token string variable" style="color:#36acaa">$SPANWAY_API_KEY</span><span class="token string" style="color:#e3116c">"</span><span class="token plain"> </span><span class="token parameter variable" style="color:#36acaa">-H</span><span class="token plain"> </span><span class="token string" style="color:#e3116c">"Content-Type: application/json"</span><span class="token plain"> </span><span class="token punctuation" style="color:#393A34">\</span><span class="token plain"></span><br></div><div class="token-line" style="color:#393A34"><span class="token plain">  </span><span class="token parameter variable" style="color:#36acaa">-d</span><span class="token plain"> </span><span class="token string" style="color:#e3116c">'{"model": "claude-haiku-5-5", "messages": [{"role": "user", "content": "Classify this ticket as billing, bug or feature request."}]}'</span><br></div></code></pre></div></div>
<p>Current prices and capabilities for every Anthropic model are on the <a class="" href="https://docs.spanway.ai/docs/providers/anthropic">Anthropic provider page</a>, and the Bedrock and Vertex AI pages list the regional ids.</p>]]></content:encoded>
        </item>
    </channel>
</rss>