René's URL Explorer Experiment


Title: feat(providers): add Sakana AI provider with Fugu models by waleedlatif1 · Pull Request #5169 · simstudioai/sim · GitHub

Open Graph Title: feat(providers): add Sakana AI provider with Fugu models by waleedlatif1 · Pull Request #5169 · simstudioai/sim

X Title: feat(providers): add Sakana AI provider with Fugu models by waleedlatif1 · Pull Request #5169 · simstudioai/sim

Description: Summary Add Sakana AI as a new LLM provider (OpenAI-compatible API at https://api.sakana.ai/v1, bearer auth) Register two models: fugu (fast default) and fugu-ultra (reasoning flagship), both 1M context window Full provider wiring: ProviderId, registry, PROVIDER_DEFINITIONS, providers metadata, SakanaIcon, tokenization config, attachment adapter Provider executor supports streaming, the tool-execution loop, forced tool choice, and response_format — mirrors the deepseek OpenAI-compatible pattern BYOK-only: not in getHostedModels(), so it is never served with Sim's hosted key or auto-billed (matches groq/cerebras/deepseek/xai) Notes on pricing fugu-ultra pricing ($5 input / $30 output / $0.50 cached per 1M) is taken directly from Sakana's pricing page (standard <272K tier) Sakana does not publish a fixed per-token rate for the base fugu router ("a single rate based on the top-tier model involved"), so fugu is priced at the documented fugu-ultra ceiling so cost tracking never under-reports Type of Change New feature (provider integration) Testing bun run lint, typecheck, and bun run check:api-validation pass Added provider definition tests (models.test.ts): model ids, 1M context, pricing, and fugu/fugu-ultra → sakana routing — 32 provider tests pass Verified the API key authenticates against https://api.sakana.ai/v1 (live /v1/models returns fugu/fugu-ultra); a full chat completion is pending an account with active credit Checklist Code follows project style guidelines Self-reviewed my changes Tests added/updated and passing No new warnings introduced I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)

Open Graph Description: Summary Add Sakana AI as a new LLM provider (OpenAI-compatible API at https://api.sakana.ai/v1, bearer auth) Register two models: fugu (fast default) and fugu-ultra (reasoning flagship), both 1M c...

X Description: Summary Add Sakana AI as a new LLM provider (OpenAI-compatible API at https://api.sakana.ai/v1, bearer auth) Register two models: fugu (fast default) and fugu-ultra (reasoning flagship), both 1M c...

Opengraph URL: https://github.com/simstudioai/sim/pull/5169

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:f13b43b8-abd1-f2f4-49e6-bf214ac122b7
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8582:330459:5AADA2:813394:6AFB432C
html-safe-nonce4dd16cde4d25408a610c11c02a54798a8bef4136443bc87837fd025fba56ee5b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NTgyOjMzMDQ1OTo1QUFEQTI6ODEzMzk0OjZBRkI0MzJDIiwidmlzaXRvcl9pZCI6IjI4MDY1MzM4OTkxNjQ4ODQ5MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacb0b83298e8b54ed8cb1cc2ea2e05e787700741beeac7fc54dee23759d3845fed
hovercard-subject-tagpull_request:3914898151
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/simstudioai/sim/pull/5169/files
twitter:imagehttps://avatars.githubusercontent.com/u/40672544?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/40672544?s=400&v=4
og:image:altSummary Add Sakana AI as a new LLM provider (OpenAI-compatible API at https://api.sakana.ai/v1, bearer auth) Register two models: fugu (fast default) and fugu-ultra (reasoning flagship), both 1M c...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noned849b928f455c800985398e7f1b659425adb312a5fa14fba5d9a14e62e9fe5dd
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/simstudioai/sim git https://github.com/simstudioai/sim.git
octolytics-dimension-user_id199344406
octolytics-dimension-user_loginsimstudioai
octolytics-dimension-repository_id912559512
octolytics-dimension-repository_nwosimstudioai/sim
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id912559512
octolytics-dimension-repository_network_root_nwosimstudioai/sim
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasea6c2f87cbcb6414452377b4967858ed6a66f1109
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/simstudioai/sim/pull/5169/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F5169%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F5169%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=simstudioai%2Fsim
Reloadhttps://github.com/simstudioai/sim/pull/5169/files
Reloadhttps://github.com/simstudioai/sim/pull/5169/files
Reloadhttps://github.com/simstudioai/sim/pull/5169/files
simstudioaihttps://github.com/simstudioai
simhttps://github.com/simstudioai/sim
Codehttps://github.com/simstudioai/sim
Issues129 (129)https://github.com/simstudioai/sim/issues
Pull requests200 (200)https://github.com/simstudioai/sim/pulls
Actionshttps://github.com/simstudioai/sim/actions
Projectshttps://github.com/simstudioai/sim/projects
Security and qualityhttps://github.com/simstudioai/sim/security
Insightshttps://github.com/simstudioai/sim/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose
waleedlatif1https://github.com/waleedlatif1
staginghttps://github.com/simstudioai/sim/tree/staging
sakana-providerhttps://github.com/simstudioai/sim/tree/sakana-provider
Conversation 35 https://github.com/simstudioai/sim/pull/5169
Commits 6 https://github.com/simstudioai/sim/pull/5169/commits
Checks 15 https://github.com/simstudioai/sim/pull/5169/checks
Files changed https://github.com/simstudioai/sim/pull/5169/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/5169/files
feat(providers): add Sakana AI provider with Fugu models https://github.com/simstudioai/sim/pull/5169/files#top
Show all changes 6 commits https://github.com/simstudioai/sim/pull/5169/files
ab41b14 feat(providers): add Sakana AI provider with Fugu models waleedlatif1 Jun 22, 2026 https://github.com/simstudioai/sim/pull/5169/commits/ab41b14e7ae0367aa45ade1323e73f1ca1c115a7
bd422f8 fix(providers): defer Sakana structured output until after tool loop waleedlatif1 Jun 22, 2026 https://github.com/simstudioai/sim/pull/5169/commits/bd422f8aa8f51f6201492018e981541a5034c918
8d4acba fix(providers): harden Sakana tool-loop error + final-stream tool_choice waleedlatif1 Jun 22, 2026 https://github.com/simstudioai/sim/pull/5169/commits/8d4acbabfd1021da708ec16ec5afaebe1665b42b
3a24274 fix(providers): Sakana streaming usage + filtered-tools stream guard waleedlatif1 Jun 22, 2026 https://github.com/simstudioai/sim/pull/5169/commits/3a24274b82bbe7971cf849d711817a8167a56123
2ff83bc fix(providers): answer every Sakana tool_call to keep message history… waleedlatif1 Jun 22, 2026 https://github.com/simstudioai/sim/pull/5169/commits/2ff83bc17ac068cd0988989b00f145437667b801
ee72a69 test(session): de-flake SessionProvider normal-load test waleedlatif1 Jun 22, 2026 https://github.com/simstudioai/sim/pull/5169/commits/ee72a69552e6f14ffd90130b7ffeb07923798bd7
Clear filters https://github.com/simstudioai/sim/pull/5169/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/5169/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/5169/files
session-provider.test.tsx https://github.com/simstudioai/sim/pull/5169/files#diff-eac96639d6e39f19ef8bc73771c8a01fb2cfbaf04026c41e771b17c60bac7bf7
icons.tsx https://github.com/simstudioai/sim/pull/5169/files#diff-75502961b6b1b69fd8b140643edfe13c66790af9f167e9a545cbcff6b2e9a20d
constants.ts https://github.com/simstudioai/sim/pull/5169/files#diff-697e4940d3bdc271d498276b7e7b55f4d56641b0b478fd4a0f0915bad4a0db3d
attachments.ts https://github.com/simstudioai/sim/pull/5169/files#diff-b4a00becad44846eb2725595c690d0c3c872244a6ee3fc773d5bc9724913ae02
models.test.ts https://github.com/simstudioai/sim/pull/5169/files#diff-0f2a73cedc47510e26699888e6cd492fa5271854652227b0e2556913bd0a9e94
models.ts https://github.com/simstudioai/sim/pull/5169/files#diff-352174d7cadfdcaf759836ee5b99d67c4cc92aa73065e6983e547fe5c55299b3
registry.ts https://github.com/simstudioai/sim/pull/5169/files#diff-2c6b080e8b57935545cf9cd57f5eb8b7caa6bcc4a4d650c82fdde3d259fb02dd
index.ts https://github.com/simstudioai/sim/pull/5169/files#diff-054de92759ba27d61634b4dfd21606cd7b46d94cb2691223845d2c9f9b50cf52
utils.ts https://github.com/simstudioai/sim/pull/5169/files#diff-6ceb862afdd865de96aca88e72c3b9ba23562c362aa89937b2e77e0a72339ab2
types.ts https://github.com/simstudioai/sim/pull/5169/files#diff-173d679b23ede4297b7b374f41798fcf014b853f44c38f29fbbcbb8ee5ba39f5
utils.ts https://github.com/simstudioai/sim/pull/5169/files#diff-e5a8ed3fe51b6470c7acddd9beac4eecb4c915cacc23d40b68b566a998ac121e
apps/sim/app/_shell/providers/session-provider.test.tsxhttps://github.com/simstudioai/sim/pull/5169/files#diff-eac96639d6e39f19ef8bc73771c8a01fb2cfbaf04026c41e771b17c60bac7bf7
View file https://github.com/simstudioai/sim/blob/ee72a69552e6f14ffd90130b7ffeb07923798bd7/apps/sim/app/_shell/providers/session-provider.test.tsx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/5169/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/5169/files#diff-eac96639d6e39f19ef8bc73771c8a01fb2cfbaf04026c41e771b17c60bac7bf7
https://github.com/simstudioai/sim/pull/5169/files#diff-eac96639d6e39f19ef8bc73771c8a01fb2cfbaf04026c41e771b17c60bac7bf7
apps/sim/components/icons.tsxhttps://github.com/simstudioai/sim/pull/5169/files#diff-75502961b6b1b69fd8b140643edfe13c66790af9f167e9a545cbcff6b2e9a20d
View file https://github.com/simstudioai/sim/blob/ee72a69552e6f14ffd90130b7ffeb07923798bd7/apps/sim/components/icons.tsx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/5169/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/5169/files#diff-75502961b6b1b69fd8b140643edfe13c66790af9f167e9a545cbcff6b2e9a20d
https://github.com/simstudioai/sim/pull/5169/files#diff-75502961b6b1b69fd8b140643edfe13c66790af9f167e9a545cbcff6b2e9a20d
apps/sim/lib/tokenization/constants.tshttps://github.com/simstudioai/sim/pull/5169/files#diff-697e4940d3bdc271d498276b7e7b55f4d56641b0b478fd4a0f0915bad4a0db3d
View file https://github.com/simstudioai/sim/blob/ee72a69552e6f14ffd90130b7ffeb07923798bd7/apps/sim/lib/tokenization/constants.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/5169/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/5169/files#diff-697e4940d3bdc271d498276b7e7b55f4d56641b0b478fd4a0f0915bad4a0db3d
https://github.com/simstudioai/sim/pull/5169/files#diff-697e4940d3bdc271d498276b7e7b55f4d56641b0b478fd4a0f0915bad4a0db3d
apps/sim/providers/attachments.tshttps://github.com/simstudioai/sim/pull/5169/files#diff-b4a00becad44846eb2725595c690d0c3c872244a6ee3fc773d5bc9724913ae02
View file https://github.com/simstudioai/sim/blob/ee72a69552e6f14ffd90130b7ffeb07923798bd7/apps/sim/providers/attachments.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/5169/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/5169/files#diff-b4a00becad44846eb2725595c690d0c3c872244a6ee3fc773d5bc9724913ae02
https://github.com/simstudioai/sim/pull/5169/files#diff-b4a00becad44846eb2725595c690d0c3c872244a6ee3fc773d5bc9724913ae02
https://github.com/simstudioai/sim/pull/5169/files#diff-b4a00becad44846eb2725595c690d0c3c872244a6ee3fc773d5bc9724913ae02
https://github.com/simstudioai/sim/pull/5169/files#diff-b4a00becad44846eb2725595c690d0c3c872244a6ee3fc773d5bc9724913ae02
https://github.com/simstudioai/sim/pull/5169/files#diff-b4a00becad44846eb2725595c690d0c3c872244a6ee3fc773d5bc9724913ae02
https://github.com/simstudioai/sim/pull/5169/files#diff-b4a00becad44846eb2725595c690d0c3c872244a6ee3fc773d5bc9724913ae02
https://github.com/simstudioai/sim/pull/5169/files#diff-b4a00becad44846eb2725595c690d0c3c872244a6ee3fc773d5bc9724913ae02
https://github.com/simstudioai/sim/pull/5169/files#diff-b4a00becad44846eb2725595c690d0c3c872244a6ee3fc773d5bc9724913ae02
apps/sim/providers/models.test.tshttps://github.com/simstudioai/sim/pull/5169/files#diff-0f2a73cedc47510e26699888e6cd492fa5271854652227b0e2556913bd0a9e94
View file https://github.com/simstudioai/sim/blob/ee72a69552e6f14ffd90130b7ffeb07923798bd7/apps/sim/providers/models.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/5169/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/5169/files#diff-0f2a73cedc47510e26699888e6cd492fa5271854652227b0e2556913bd0a9e94
apps/sim/providers/models.tshttps://github.com/simstudioai/sim/pull/5169/files#diff-352174d7cadfdcaf759836ee5b99d67c4cc92aa73065e6983e547fe5c55299b3
View file https://github.com/simstudioai/sim/blob/ee72a69552e6f14ffd90130b7ffeb07923798bd7/apps/sim/providers/models.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/5169/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/5169/files#diff-352174d7cadfdcaf759836ee5b99d67c4cc92aa73065e6983e547fe5c55299b3
https://github.com/simstudioai/sim/pull/5169/files#diff-352174d7cadfdcaf759836ee5b99d67c4cc92aa73065e6983e547fe5c55299b3
https://github.com/simstudioai/sim/pull/5169/files#diff-352174d7cadfdcaf759836ee5b99d67c4cc92aa73065e6983e547fe5c55299b3
Please reload this pagehttps://github.com/simstudioai/sim/pull/5169/files
https://github.com/simstudioai/sim/pull/5169/files#diff-352174d7cadfdcaf759836ee5b99d67c4cc92aa73065e6983e547fe5c55299b3
apps/sim/providers/registry.tshttps://github.com/simstudioai/sim/pull/5169/files#diff-2c6b080e8b57935545cf9cd57f5eb8b7caa6bcc4a4d650c82fdde3d259fb02dd
View file https://github.com/simstudioai/sim/blob/ee72a69552e6f14ffd90130b7ffeb07923798bd7/apps/sim/providers/registry.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/5169/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/5169/files#diff-2c6b080e8b57935545cf9cd57f5eb8b7caa6bcc4a4d650c82fdde3d259fb02dd
https://github.com/simstudioai/sim/pull/5169/files#diff-2c6b080e8b57935545cf9cd57f5eb8b7caa6bcc4a4d650c82fdde3d259fb02dd
https://github.com/simstudioai/sim/pull/5169/files#diff-2c6b080e8b57935545cf9cd57f5eb8b7caa6bcc4a4d650c82fdde3d259fb02dd
Please reload this pagehttps://github.com/simstudioai/sim/pull/5169/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/5169/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.