Phones do not have a built-in keyboard that types small text. What you can change is the size of the keyboard and the system text, and those settings do not make the letters you type any smaller. To get small-looking text on either phone, type your words in a generator, copy the styled result, and paste it into the app.

Why a phone keyboard cannot make text small
Three things get mixed up, and they do different jobs:
The third row is the only one that changes what the text looks like in a message. That is why the paste workflow works on both phones.
| Setting | What it changes | Does it make typed text smaller? |
|---|---|---|
| Keyboard size | How big the keyboard is on screen | No |
| System text size | Text across apps and menus | No, it changes the size of text you read, not the characters you type |
| Unicode small text | The characters you type are different ones | Yes, it looks smaller because the characters are small forms |
Make small text on iPhone
Type or paste your text into a generator in Safari or another browser. Copy the styled result, then paste it into your message or bio. Changing your keyboard size or text size on iPhone does not change the characters, so it is not the fix. Check the preview in the app before you send.
Make small text on Android
The same method works on Android. Keyboard size is set in the keyboard app's own settings, not in the system font size, so use the keyboard app only if you want to change how big the keys are. For small text, copy from a generator and paste.
Using a copy-paste generator instead
A generator is the quickest route on either phone. Use the small text generator for small letters, or the small caps generator for small capital forms. Paste into the app, check the preview, then send.