<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: modelkiwi</title>
    <description>The latest articles on DEV Community by modelkiwi (@lin_wang_eb7f420656bfbdfc).</description>
    <link>https://dev.to/lin_wang_eb7f420656bfbdfc</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4099441%2Ff5300ced-d6e9-49da-92a1-9288f19b8a6c.png</url>
      <title>DEV Community: modelkiwi</title>
      <link>https://dev.to/lin_wang_eb7f420656bfbdfc</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/lin_wang_eb7f420656bfbdfc"/>
    <language>en</language>
    <item>
      <title>Claude is amazing. The foreign credit card is what's keeping you out.</title>
      <dc:creator>modelkiwi</dc:creator>
      <pubDate>Mon, 31 Aug 2026 12:05:05 +0000</pubDate>
      <link>https://dev.to/lin_wang_eb7f420656bfbdfc/claude-is-amazing-the-foreign-credit-card-is-whats-keeping-you-out-2elh</link>
      <guid>https://dev.to/lin_wang_eb7f420656bfbdfc/claude-is-amazing-the-foreign-credit-card-is-whats-keeping-you-out-2elh</guid>
      <description>&lt;p&gt;While developers elsewhere just write code, developers in Brazil still hit a wall called "international credit card". Claude shouldn't be out of reach because of billing.&lt;/p&gt;

&lt;p&gt;Claude has become a favorite among developers for coding, long context and reasoning — but for developers outside the US/EU, the billing wall is real: Anthropic requires an international credit card, and local payment methods like PIX aren't accepted.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The practical path: an API gateway.&lt;/strong&gt; You keep using the official Anthropic SDK and models — you just point the client at a compatible provider that accepts local payments:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="kn"&gt;from&lt;/span&gt; &lt;span class="n"&gt;anthropic&lt;/span&gt; &lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;Anthropic&lt;/span&gt;

&lt;span class="n"&gt;client&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;Anthropic&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;base_url&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;https://api.example.com&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;api_key&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;your-key&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="n"&gt;resp&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;client&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;messages&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;create&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="n"&gt;model&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;claude-sonnet-4-5&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;max_tokens&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;1024&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;messages&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="p"&gt;[{&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;role&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;user&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;content&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;Explain Python functions&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;}],&lt;/span&gt;
&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="nf"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;resp&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;content&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;].&lt;/span&gt;&lt;span class="n"&gt;text&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Checklist for choosing a provider:&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Is per-million-token pricing aligned with the official rate?&lt;/li&gt;
&lt;li&gt;Is long context (200k) supported?&lt;/li&gt;
&lt;li&gt;Local payment with instant credit?&lt;/li&gt;
&lt;li&gt;Support in your language?&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Don't let billing block you from using the best models.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Want to try these models in your project? **ModelKiwi&lt;/em&gt;* gives you access to GPT, Claude and Gemini with &lt;strong&gt;PIX&lt;/strong&gt; payment (no international credit card needed) and free credits to start: &lt;a href="https://www.modelkiwi.com" rel="noopener noreferrer"&gt;https://www.modelkiwi.com&lt;/a&gt;. WhatsApp: +5521999500402 — and join our channel: &lt;a href="https://t.me/ModelkiwiOfficial" rel="noopener noreferrer"&gt;https://t.me/ModelkiwiOfficial&lt;/a&gt;.*&lt;/p&gt;

</description>
      <category>ai</category>
      <category>api</category>
      <category>tutorial</category>
      <category>beginners</category>
    </item>
    <item>
      <title>The absurd thing every Brazilian dev faces: a foreign credit card for AI</title>
      <dc:creator>modelkiwi</dc:creator>
      <pubDate>Sun, 30 Aug 2026 12:05:06 +0000</pubDate>
      <link>https://dev.to/lin_wang_eb7f420656bfbdfc/the-absurd-thing-every-brazilian-dev-faces-a-foreign-credit-card-for-ai-3ide</link>
      <guid>https://dev.to/lin_wang_eb7f420656bfbdfc/the-absurd-thing-every-brazilian-dev-faces-a-foreign-credit-card-for-ai-3ide</guid>
      <description>&lt;p&gt;While Brazil's government announces national AI supercomputers, many developers here still can't pay for the OpenAI API — no international card, no PIX accepted. It doesn't have to be this way.&lt;/p&gt;

&lt;p&gt;If you are a developer in Brazil — or anywhere without easy international payment — you know the pain: OpenAI, Anthropic and others require an international credit card for API billing, and many regions simply don't have one or get declined constantly.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The practical workaround: an API gateway.&lt;/strong&gt; You keep using the same models (GPT, Claude, Gemini) and the same SDK — you just point &lt;code&gt;base_url&lt;/code&gt; to a provider that accepts local payment methods:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="kn"&gt;from&lt;/span&gt; &lt;span class="n"&gt;openai&lt;/span&gt; &lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;OpenAI&lt;/span&gt;

&lt;span class="n"&gt;client&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;OpenAI&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="n"&gt;base_url&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;https://api.example.com/v1&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;api_key&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;your-key&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="n"&gt;resp&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;client&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;chat&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;completions&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;create&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="n"&gt;model&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;gpt-4o-mini&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;messages&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="p"&gt;[{&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;role&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;user&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;content&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;Hello!&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;}],&lt;/span&gt;
&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="nf"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;resp&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;choices&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;].&lt;/span&gt;&lt;span class="n"&gt;message&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;content&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;What to check in a provider:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Local payment (PIX in Brazil, etc.) with instant credit?&lt;/li&gt;
&lt;li&gt;The models you actually need?&lt;/li&gt;
&lt;li&gt;Transparent per-million-token pricing?&lt;/li&gt;
&lt;li&gt;Uptime and support in your language?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Access to frontier AI shouldn't depend on which credit card you have.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Want to try these models in your project? **ModelKiwi&lt;/em&gt;* gives you access to GPT, Claude and Gemini with &lt;strong&gt;PIX&lt;/strong&gt; payment (no international credit card needed) and free credits to start: &lt;a href="https://www.modelkiwi.com" rel="noopener noreferrer"&gt;https://www.modelkiwi.com&lt;/a&gt;. WhatsApp: +5521999500402 — and join our channel: &lt;a href="https://t.me/ModelkiwiOfficial" rel="noopener noreferrer"&gt;https://t.me/ModelkiwiOfficial&lt;/a&gt;.*&lt;/p&gt;

</description>
      <category>ai</category>
      <category>api</category>
      <category>tutorial</category>
      <category>beginners</category>
    </item>
    <item>
      <title>Open source or foreign AI? A national debate that hits your wallet</title>
      <dc:creator>modelkiwi</dc:creator>
      <pubDate>Sat, 29 Aug 2026 12:05:01 +0000</pubDate>
      <link>https://dev.to/lin_wang_eb7f420656bfbdfc/open-source-or-foreign-ai-a-national-debate-that-hits-your-wallet-187g</link>
      <guid>https://dev.to/lin_wang_eb7f420656bfbdfc/open-source-or-foreign-ai-a-national-debate-that-hits-your-wallet-187g</guid>
      <description>&lt;p&gt;Countries are debating technological sovereignty: some argue the answer is not depending on foreign AI, investing in open source and national infrastructure. Governments announce supercomputers and national clouds. All important — and it takes years.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Meanwhile, developers face today's problem:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Can't pay for OpenAI/Anthropic APIs with a national card (no local payment methods);&lt;/li&gt;
&lt;li&gt;Need AI at work &lt;em&gt;now&lt;/em&gt;, not when the national supercomputer is ready;&lt;/li&gt;
&lt;li&gt;Watch global competitors use the best tools.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Both sides aren't mutually exclusive:&lt;/strong&gt;&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Horizon&lt;/th&gt;
&lt;th&gt;Strategy&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Short term (today)&lt;/td&gt;
&lt;td&gt;Use AI APIs through gateways with local payment — immediate access&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Medium term&lt;/td&gt;
&lt;td&gt;Learn and build on those APIs — the skill is portable&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Long term&lt;/td&gt;
&lt;td&gt;Support open source and national infrastructure — without waiting for it&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;What the national debate forgets:&lt;/strong&gt; sovereignty isn't built by idle developers. A developer using GPT/Claude today is better prepared to build national AI tomorrow than one who waits.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Want to try these models in your project? **ModelKiwi&lt;/em&gt;* gives you access to GPT, Claude and Gemini with &lt;strong&gt;PIX&lt;/strong&gt; payment (no international credit card needed) and free credits to start: &lt;a href="https://www.modelkiwi.com" rel="noopener noreferrer"&gt;https://www.modelkiwi.com&lt;/a&gt;. WhatsApp: +5521999500402 — and join our channel: &lt;a href="https://t.me/ModelkiwiOfficial" rel="noopener noreferrer"&gt;https://t.me/ModelkiwiOfficial&lt;/a&gt;.*&lt;/p&gt;

</description>
      <category>ai</category>
      <category>opensource</category>
      <category>discuss</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
