Skip to content
llmmodels

CodeT5-base vs Shanhai

CodeT5-base has open weights, so you can self-host and fine-tune it; Shanhai is API-only.

SpecCodeT5-baseShanhai
ProviderSalesforceUnisound
ReleasedNov 1, 2021May 24, 2023 (better)
TypeCode modelCode model
Parameters220M—
Context window——
Max output——
Input price / 1M——
Output price / 1M——
Input modalitiestexttext
Open weightsYesNo
LicenseOpen (permissive)Proprietary
Reasoning modeNoNo
Tool callingNoNo
API providers——

About CodeT5-base

CodeT5-base is an open-weight code model from Salesforce, released Nov 1, 2021. It has 220M parameters. Full CodeT5-base specs →

About Shanhai

Shanhai is a proprietary code model from Unisound, released May 24, 2023. Full Shanhai specs →

Compare other models

FAQ

Which is better, CodeT5-base or Shanhai?

CodeT5-base has open weights, so you can self-host and fine-tune it; Shanhai is API-only.

Are CodeT5-base and Shanhai open source?

CodeT5-base is open-weight; Shanhai is proprietary.